---
layout: "default"
title: "Operator: prefix +"
description: "Swift documentation for the 'prefix +' operator."
root: "/v2.0"
---

<code class="language-swift">prefix operator prefix + {
    associativity 
    precedence 
}</code>

<h3>Declarations</h3>

<div class="declaration" id="func-pls_-double">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-pls_-double">prefix func +(<wbr>_: Double)</a>
        
<div class="comment collapse" id="comment-func-pls_-double"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">prefix func +(x: Double) -&gt; Double</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-pls_-float">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-pls_-float">prefix func +(<wbr>_: Float)</a>
        
<div class="comment collapse" id="comment-func-pls_-float"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">prefix func +(x: Float) -&gt; Float</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-pls_-float80">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-pls_-float80">prefix func +(<wbr>_: Float80)</a>
        
<div class="comment collapse" id="comment-func-pls_-float80"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">prefix func +(x: Float80) -&gt; Float80</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-pls-t_-signednumbertype_-t">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-pls-t_-signednumbertype_-t">prefix func <wbr>+ &lt;T : SignedNumberType&gt;(<wbr>_: T)</a>
        
<div class="comment collapse" id="comment-func-pls-t_-signednumbertype_-t"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">prefix func +&lt;T : SignedNumberType&gt;(x: T) -&gt; T</code>
    
    
</div></div>
</div>
